package mani.threads;

public class OddThread implements Runnable {
	private PrintJob printJob;

	public OddThread(PrintJob printJob) {
		this.printJob = printJob;
	}

	public void run() {
		for (int i = 0; i < 5; i++) {

			printJob.printOdd();
		}
	}
}